import '../styles/MyTabbar.scss'

import React, { Component } from 'react';

class MyTabbar extends Component {
    constructor(props) {
        super(props);
        this.state = {
            list:['店铺','分类','全部商品','购物车','个人中心']
        }
    }
    
    render() {
        return (
            <div className='tabbar'>
                {
                    this.state.list.map((item, index) => {
                        return (
                            <div className="one" key={index}>{item}</div>
                        )
                    })
                }
            </div>
        );
    }
}

export default MyTabbar;